package org.znxs.znxsojjudge.codeSandbox;

import org.znxs.model.model.judge.ExecuteCodeRequest;
import org.znxs.model.model.judge.ExecuteCodeResponse;

/**
 * 代码沙箱接口
 */
public interface CodeSandbox {

    /**
     * 执行代码
     * @param executeCodeRequest  代码执行请求类
     * @return 返回代码执行响应类
     */
    ExecuteCodeResponse executeCode(ExecuteCodeRequest executeCodeRequest);
}
